<template>
  <InspectionSheet :btnFlag="btnFlag" class="inspectionSheet" :userType="'INSPECTOR'"></InspectionSheet>
</template>
<script>

// {INSPECTOR: "检验员", TECHNICIAN: "技术员", FARMER: "场长"}
import InspectionSheet from "@/components/InspectionSheet";
import { mapGetters } from 'vuex'
export default {
  components: { InspectionSheet },
  data() {
    return {
      btnFlag: true
    }
  },
  computed: {
    ...mapGetters([
      'codeList'
    ])
  },
  mounted() {
    this.btnFlag = this.codeList.indexOf('submit') !== -1;
  },
  methods: {}
};
</script>

<style lang="scss" scoped>
.inspectionSheet {
  height: 100%;
  padding: 20px;
}

.flex {
  display: flex;
  justify-content: flex-start;

  .f_1 {
    width: 10%;
  }

  .f_2 {
    width: 90%;
  }

  .f_2_1 {
    width: 15%;
  }

  .f_2_2 {
    width: 70%;
  }


}

.th {
  font-weight: bold;
}

.tr {
  color: #505050;
}

.titleLable {
  width: 100%;
  box-sizing: border-box;
  color: #909399;
  background: #fafafa;
}

.content {
  border: 1px solid #EBEEF5;
  box-sizing: border-box;
  text-align: left;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  padding: 6px 10px;
}
</style>